package com.hotel.homehotel.before.service;

import com.hotel.homehotel.before.entiy.Room;
import com.hotel.homehotel.utils.R;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectKey;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface RoomService {
    public List<Room> getAllRoom(String uid);
    public  Room getRoomById(String id);
    public boolean insertRoom(Room room);
    public boolean updateRoom(Room room);
    public boolean deleteRoom(String id);
    public List<Room> getRoomByIByRoomName(String name,String uid);



}
